import baseConfig from './base';

let userEnvironmental = 'uat'
const originEnvironmental = {
  "dev": 'http://106.15.26.10:10080',
  'uat': 'http://uat.huilianyi.com',
  'stage': 'http://apistage.huilianyi.com'
}
let originTest = originEnvironmental[userEnvironmental];
const config = {
  appEnv: 'test',
  baseUrl: originTest,
  budgetUrl: originTest + '/budget-service',
  receiptUrl: originTest + '/receipt',
  pushUrl: originTest + '/push',
  accountingUrl: '',
  payUrl: originTest + '/payment',
  contractUrl: '/contract',
  prePaymentUrl: '',
  localUrl: '',
  ssoUrl: '',
  wsUrl: 'wss://apiuat.huilianyi.com',
  formCodes: ['MCD1001', 'MCD2001', 'MCD4001', 'MCD5001']
};

export default Object.freeze(Object.assign({}, baseConfig, config));
